package com.reebake.ideal.org.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

 /**
 * 成员
 * 
 */
@Schema(name = "成员", description = "")
@TableName("idl_organization_member")
@Data
public class OrganizationMember implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Schema(name = "主键", description = "")
    @TableId
    private String organizationMemberId;

    /** 组织编号 */
    @Schema(name = "组织编号", description = "")
    private String organizationId;

    /** 部门编号 */
    @Schema(name = "部门编号", description = "")
    private String departmentId;

    /** 部门名称 */
    @Schema(name = "部门名称", description = "")
    private String departmentName;

    /** 组织名称 */
    @Schema(name = "组织名称", description = "")
    private String organizationName;

    /** 用户编号 */
    @Schema(name = "用户编号", description = "")
    private String userId;

    /** 证件类型 */
    @Schema(name = "证件类型", description = "")
    private String idType;

    /** 证件号码 */
    @Schema(name = "证件号码", description = "")
    private String idCode;

    /** 姓名 */
    @Schema(name = "姓名", description = "")
    private String name;

    /** 状态 */
    @Schema(name = "状态", description = "")
    private String status;

    /** 出生日期 */
    @Schema(name = "出生日期", description = "")
    private String birthday;

    /** 职位 */
    @Schema(name = "职位", description = "")
    private String positionName;

    /** 职级代码 */
    @Schema(name = "职级代码", description = "")
    private String rankCode;

    /** 职级 */
    @Schema(name = "职级", description = "")
    private String rankName;

    /** 岗位代码 */
    @Schema(name = "岗位代码", description = "")
    private String postCode;

    /** 岗位 */
    @Schema(name = "岗位", description = "")
    private String postName;

    /** 联系电话 */
    @Schema(name = "联系电话", description = "")
    private String phone;

    /** 手机号码 */
    @Schema(name = "手机号码", description = "")
    private String mobilePhone;

    /** 住址 */
    @Schema(name = "住址", description = "")
    private String address;

    /** 电子邮箱 */
    @Schema(name = "电子邮箱", description = "")
    private String email;

    /** 聘用日期 */
    @Schema(name = "聘用日期", description = "")
    private String hireDate;

    /** 紧急联系人名称 */
    @Schema(name = "紧急联系人名称", description = "")
    private String emergencyContactName;

    /** 紧急联系人电话 */
    @Schema(name = "紧急联系人电话", description = "")
    private String emergencyContactPhone;

    /** 备注 */
    @Schema(name = "备注", description = "")
    private String remark;

    /** 删除标识 */
    @Schema(name = "删除标识", description = "")
    @TableLogic
    private Boolean deleteFlag;

    /** 租户号 */
    @Schema(name = "租户号", description = "")
    private String tenantId;

    /** 乐观锁 */
    @Schema(name = "乐观锁", description = "")
    private Integer revision;

    /** 创建人 */
    @Schema(name = "创建人", description = "")
    @TableField(fill = FieldFill.INSERT)
    private String createdBy;

    /** 创建时间 */
    @Schema(name = "创建时间", description = "")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    /** 更新人 */
    @Schema(name = "更新人", description = "")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updatedBy;

    /** 更新时间 */
    @Schema(name = "更新时间", description = "")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;

}